package com.design.patterns.list.factory.absfactory;

import com.design.patterns.list.factory.absfactory.cola.Cola;
import com.design.patterns.list.factory.absfactory.pizza.Pizza;

/**
 * 当其产品不止一类
 * 抽象工厂：1.用来得到子类工厂
 *         2.定义子类工厂获取具体产品的规范
 * @author Wangzhiwen
 */
public abstract class AbstractFactory {

    public abstract Pizza createPizza(String pizzaName);
    public abstract Cola createCola(String colaName);

}
